package com.epichust.bootumpp.model.dao;

import com.epichust.bootumpp.model.entity.Umpp5OpWorkTime;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface Umpp5OpWorkTimeDao {

    /**
     * 查询所有的工序定额时间
     * @return
     */
    public List<Umpp5OpWorkTime> getAllUmpp5OpWorkTime(Map<String,String> map);

    /**
     * 新增工序定额时间
     * @param umpp5OpWorkTime
     * @return
     */
    int insertUmpp5OpWorkTime(Umpp5OpWorkTime umpp5OpWorkTime);

    /**
     * 更新工序定额时间
     * @param umpp5OpWorkTime
     * @return
     */
    int updateUmpp5OpWorkTime(Umpp5OpWorkTime umpp5OpWorkTime);
}
